package Zuoye;

import java.util.ArrayList;

public class Studentss {
    public static void main(String[] args) {
        ArrayList<S> students = new ArrayList<>();
        S student1 = new S();
        student1.setId(1);student1.setName("qq");
        student1.setAge(12);student1.setScore(88.8);
        S student2 = new S();
        student2.setId(2);student2.setName("aq");
        student2.setAge(22);student2.setScore(98.8);
        S student3 = new S();
        student3.setId(3);student3.setName("ww");
        student3.setAge(32);student3.setScore(78.8);
        students.add(student1);
        students.add(student2);
        students.add(student3);
        for (S ete:students){
            System.out.println("学生信息：" + ete);
        }
    }

}
